<div id="main-col" class="div">
		<div class="mainColInner">
			<div class="subPageHeader">
				<h1><?=Yii::t('users','join platform');?></h1>
				<h2><?php echo Yii::t('users','registered').CHtml::link(Yii::t('users','submit login'),Yii::app()->createUrl('/users/login')) ;?></h2>
			</div>
			<div id="signUpProcess" class="process1">
				<p class="label label1 passed"><?=Yii::t('users','join')?></p>
				<p class="label label2"><?=Yii::t('users','connect to SNS')?></p>
				<p class="label label3"><?=Yii::t('users','share ad')?></p>
			</div>
<?php 
$form = $this->beginWidget('CActiveForm', array(
			'id'=>'UserRegisterForm',
			'method'=>'post',
//			'enableAjaxValidation'=>true,
			'htmlOptions'=>array('class'=>'users')));
?>
			<div class="clearfix mg-b-10">
				<?php echo $form->labelEx($model,'email');?>
				<div class="float-left">
					<div class="input text required">
					<?php echo $form->textField($model,'email');?>
					<?php echo $form->error($model,'email'); ?>
					</div>
				</div>
   			</div>		
    		<div class="clearfix mg-b-10">
    			<?php echo $form->labelEx($model,'username');?>
    			<div class="float-left">
    				<div class="input text required">
	    			<?php echo $form->textField($model,'username');?>
	    			<?php echo $form->error($model,'username'); ?>
	    			</div>
    			</div>
			</div>
   			<div class="clearfix mg-b-10">
		   		<?php echo $form->labelEx($model,'password');?>
		   		<div class="float-left">
		   			<div class="input password required">
		   			<?php echo $form->passwordField($model,'password');?>
	    			<?php echo $form->error($model,'password'); ?>
	    			</div>
		   		</div>
			</div>
  			<div id="terms">
  				<div class="clearfix mg-b-10">
  					<label><?=Yii::t('users', 'terms of service')?></label>
  					<div class="float-left">
  						<div class="terms docs" style="overflow:auto">Terms of Service</div>
  					</div>
  				</div>
  				<div class="clearfix mg-b-10">
  					<label><?=Yii::t('users', 'privacy policy')?></label>
  					<div class="float-left">
  						<div class="terms docs" style="overflow:auto">Privacy Policy</div>
  					</div>
  				</div>
  				<div class="clearfix mg-b-10">
  					<lable>&nbsp;</lable>
  					<div class="float-left">
  						<p class="agree" style="margin-left:140px;"><?=Yii::t('users','agree service and privacy')?></p>
  					</div>
  				</div>
 				<div class="clearfix mg-b-10">
  					<?php echo CHtml::label(null, null)?>
  					<div class="float-left">
						<div class="submit">			
						<?php  echo CHtml::submitButton(Yii::t('users','submit join'),array('class'=>'btn btn_m')); ?>
						</div>  		
					</div>
 				</div>
 			</div>
 			<?php $this->endWidget(); ?>
 		</div>
</div>
